home *** CD-ROM | disk | FTP | other *** search
/ SGI Support Advantage Support Libraries 1995 June / SGI Support Advantage Support Libraries 1995 Jun.iso / insight / lib_60 / SGI_bookshelves / SGI_EndUser / books / MediaCtls_UG / styles / examples.tv < prev    next >
Text File  |  1995-06-06  |  3KB  |  124 lines

  1. <!-- Version $Revision: 1.11 $ of the example TOC stylesheet -->
  2.  
  3. <!ENTITY    add.left-indent    CDATA    "+=20"    >
  4. <!ENTITY    body.font-size    CDATA    "12"    >
  5. <!ENTITY    body.line-space    CDATA    "14"    >
  6. <!ENTITY    doc.title.font-size    CDATA    "14"    >
  7. <!ENTITY    doc.title.line-space    CDATA    "21"    >
  8. <!ENTITY        example.text-b4 CDATA   "switch(attr(LANG,ancestor(SGIDOC)),de,Beispielverzeichnis,fr,Liste des Exemples,DEFAULT,List of Examples)"   >
  9. <!ENTITY    left-indent.1    CDATA    "4"    >
  10. <!ENTITY    title-font    CDATA    "new century schoolbook"    >
  11. <!ENTITY    title.space-before    CDATA    "4"    >
  12.  
  13. <sheet >
  14.  
  15.  
  16.  
  17. <?INSTED COMMENT: GROUP #ROOT>
  18.  
  19. <group name="#ROOT">
  20.     <left-indent>    &left-indent.1    </>
  21. </group>
  22.  
  23.  
  24.  
  25. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  26.  
  27. <style name="#SDATA">
  28.     <font-family>    attr(font)    </>
  29.     <character-set>    attr(charset)    </>
  30.     <text-before>char(attr(code))</>
  31. </style>
  32.  
  33. <style name="#TAGS">
  34.     <font-weight>    Bold    </>
  35. </style>
  36.  
  37. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  38.      bookmarks, word frequencies, location markers, etc. in left margin.
  39. -->
  40. <style name="#TOC-ANNOT">
  41.     <font-family>    courier    </>
  42.     <font-weight>    Bold    </>
  43.     <font-size>    12    </>
  44.     <foreground>    magenta    </>
  45. </style>
  46.  
  47. <style name="BUTTON">
  48.     <font-slant>    Italics    </>
  49. </style>
  50.  
  51. <style name="CAPTION">
  52.     <left-indent>    132    </>
  53.     <first-indent>    -90    </>
  54.     <space-before>    &title.space-before    </>
  55.     <justification>    Left    </>
  56.     <break-before>    Line    </>
  57.     <text-before>content(child(PREFIX))</>
  58. </style>
  59.  
  60. <style name="CAPTION,#TEXT-BEFORE">
  61.     <font-weight>   Bold    </>
  62. </style>
  63.  
  64. <style name="CODE">
  65.     <title-tag>    CAPTION    </>
  66. </style>
  67.  
  68. <style name="COMMAND">
  69.     <font-slant>    Italics    </>
  70. </style>
  71.  
  72. <style name="EMPHASIS">
  73.     <font-slant>    Italics    </>
  74. </style>
  75.  
  76. <style name="EXAMPLE">
  77.     <title-tag>    CAPTION    </>
  78. </style>
  79.  
  80. <style name="FILENAME">
  81.     <font-slant>    Italics    </>
  82. </style>
  83.  
  84. <style name="ITALICS">
  85.     <font-slant>    Italics    </>
  86. </style>
  87.  
  88. <style name="PREFIX">
  89.     <hide>  Children        </>
  90. </style>
  91.  
  92. <style name="PROGRAMNAME">
  93.     <font-slant>    Italics    </>
  94. </style>
  95.  
  96. <style name="SGIDOC">
  97.     <font-family>    &title-font    </>
  98.     <font-size>    &body.font-size    </>
  99.     <left-indent>    &add.left-indent    </>
  100.     <line-spacing>    &body.line-space    </>
  101.     <space-before>    9    </>
  102.     <break-before>    True    </>
  103.     <break-after>    False    </>
  104.     <title-tag>    ""    </>
  105.     <text-before>&example.text-b4</>
  106. </style>
  107.  
  108. <style name="SGIDOC,#TEXT-BEFORE">
  109.     <font-family>    &title-font    </>
  110.     <font-weight>    Bold    </>
  111.     <font-slant>    Roman    </>
  112.     <font-size>    &doc.title.font-size    </>
  113.     <space-before>    2    </>
  114.     <break-before>    True    </>
  115. </style>
  116.  
  117. <style name="VARIABLE">
  118.     <font-slant>    Italics    </>
  119. </style>
  120.  
  121.  
  122.  
  123. </sheet>
  124.